What does Symbol.iterator do? How would you make a plain object iterable from scratch?
Symbol.iterator is a method that returns the iterator for an object. To make a plain object iterable, implement [Symbol.iterator]() that returns an object with a next() method.